package main.java.dao;

import main.java.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper {
    int addUser(User user);
//    int updateUser(User user);
    User queryUserByUsername(String username);
    Integer countUser();
}
